import React, { Component,useEffect } from 'react';
import NavBar  from "@/components/navbar/NavBar";
import ListCom  from "./components/ListCom";
import RouteHoc from '@/hoc/RouteHoc'
function List(props) {
  
  useEffect(() => {
    // console.log(props.match.params.title);

  },[]);//空 相当于首屏加载
    return <div style={{position:'fixed', top:0,left:0,zIndex:999,backgroundColor:'#fff',}}>
        {/* navbar */}
        <NavBar title={props.match&&props.match.params.title}/>
        {/* listcom */}
        <ListCom />
      </div>
}

export default RouteHoc(List);
